// 管理员权限
const auths = [
  {
    path: '/',
    name: 'index',
    component: 'layout',
    redirect: '/index',
    meta: { showFirstChild: true, defaultTab: true },
    children: [{
      path: 'index',
      name: 'index',
      component: '/home',
      meta: { title: 'home', icon: 'HomeFilled', }
    }]
  },
  {
    path: '/form',
    name: 'form',
    component: 'layout',
    redirect: '/form/index',
    meta: { showFirstChild: true },
    children: [{
      path: 'index',
      name: 'formIndex',
      component: '/form/index',
      meta: { title: 'tableDemo', icon: 'Edit' }
    }]
  },
  {
    path: '/edit',
    name: 'edit',
    component: 'layout',
    redirect: '/edit/index',
    meta: { showFirstChild: true },
    children: [{
      path: 'index',
      name: 'editIndex',
      component: '/edit/index',
      meta: { title: 'wangEditorDomo', icon: 'Edit' }
    }]
  },
  {
    path: '/example',
    name: 'example',
    component: 'layout',
    redirect: '/example/example01',
    meta: { title: '一级', icon: 'Setting' },
    children: [
      {
        path: 'example01',
        name: 'example01',
        component: '/example/example01',
        meta: { title: '二级', icon: 'Location' }
      },
      {
        path: 'example02',
        name: 'example02',
        redirect: '/example/example02/example02_1',
        meta: { title: '二级', icon: 'Document' },
        children: [
          {
            path: 'example02_1',
            name: 'example02_1',
            component: '/example/example02/example02_1',
            meta: { title: '三级01', icon: 'Postcard' }
          },
          {
            path: 'example02_2',
            name: 'example02_2',
            component: '/example/example02/example02_2',
            meta: { title: '三级02', icon: 'Collection' }
          },
        ]
      },
    ]
  },
]

export default auths